<template>
  <el-row>
    <el-col :span="3" class="sidebar">
      <sidebar></sidebar>
    </el-col>
    <el-col :span="21" :offset="3">
      <el-row class="p20">
        <addup></addup>
        <router-view></router-view>
      </el-row>
    </el-col>
  </el-row>
</template>

<script>
import Sidebar from './components/Sidebar'
import Addup from './components/Addup'

export default {
  name: 'app',
  components:{Addup,Sidebar}
}


</script>

<style>

html,body{
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

body{
  padding-right:0!important;
}
.el-menu-item a{
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:16px;
  text-align:center
}

.sidebar{
  min-height:100%;
  background:#324057;
  position:fixed;
  left:0;
  top:0;
}

.p20{
  padding: 70px 20px 20px 20px;
}


.avatar{
  margin:30px auto;
  width:90px;
  height:90px;
  border-radius:50%;
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  display:block
}



</style>


